<ul>
@forelse ($dataList as $key=>$value)
    @if($key < 5)
        <li>
            <a href="{{$value['link_url']}}" target="_blank">
                <div class="img"><img src="{{$value['image_url']}}" width="200" height="200" alt=""></div>
                <div class="tit">{{$value['title']}}</div>
                <div class="txt">{{$value['sub_title']}}</div>
            </a>
        </li>
    @endif

    @empty
@endforelse
</ul>
